<?php 

	class Dog extends Animal{

		public $name;
		public $age;
		public $tezheng;
		public function __construct($name=null,$age='',$tezheng=null){
			$this->name=$name;
			$this->age=$age;
			$this->tezheng=$tezheng;
		}
		public function action(){
			echo $this->name."年龄".$this->age."特征".$this->tezheng;
			parent::dd();
		}

	}



















 ?>